archive/tar.Writer.hdr (field)
15 uses
archive/tar (current package)
writer.go#L26: hdr Header // Shallow copy of Header that is safe for mutations
writer.go#L74: tw.hdr = *hdr // Shallow copy of Header
writer.go#L78: if tw.hdr.Typeflag == TypeRegA {
writer.go#L79: if strings.HasSuffix(tw.hdr.Name, "/") {
writer.go#L80: tw.hdr.Typeflag = TypeDir
writer.go#L82: tw.hdr.Typeflag = TypeReg
writer.go#L91: if tw.hdr.Format == FormatUnknown {
writer.go#L92: tw.hdr.ModTime = tw.hdr.ModTime.Round(time.Second)
writer.go#L93: tw.hdr.AccessTime = time.Time{}
writer.go#L94: tw.hdr.ChangeTime = time.Time{}
writer.go#L97: allowedFormats, paxHdrs, err := tw.hdr.allowedFormats()
writer.go#L100: tw.err = tw.writeUSTARHeader(&tw.hdr)
writer.go#L103: tw.err = tw.writePAXHeader(&tw.hdr, paxHdrs)
writer.go#L106: tw.err = tw.writeGNUHeader(&tw.hdr)
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64)